package benny_driving_ser.entity;

public class DriLogin {
	int isagr = -1, istopup = -1, state = -1, pstate = -1, ispay = -1,
			serverState;

	public DriLogin(int isagr, int istopup, int state, int pstate, int ispay,
			int serverState) {
		this.isagr = isagr;
		this.istopup = istopup;
		this.state = state;
		this.pstate = pstate;
		this.ispay = ispay;
		this.serverState = serverState;
	}

	public DriLogin(int serverState) {
		this.serverState = serverState;
	}

	public int getIsagr() {
		return isagr;
	}

	public void setIsagr(int isagr) {
		this.isagr = isagr;
	}

	public int getIstopup() {
		return istopup;
	}

	public void setIstopup(int istopup) {
		this.istopup = istopup;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public int getPstate() {
		return pstate;
	}

	public void setPstate(int pstate) {
		this.pstate = pstate;
	}

	public int getIspay() {
		return ispay;
	}

	public void setIspay(int ispay) {
		this.ispay = ispay;
	}

	public int getServerState() {
		return serverState;
	}

	public void setServerState(int serverState) {
		this.serverState = serverState;
	}

	@Override
	public String toString() {
		return "DriLogin [isagr=" + isagr + ", istopup=" + istopup + ", state="
				+ state + ", pstate=" + pstate + ", ispay=" + ispay
				+ ", serverState=" + serverState + "]";
	}

}
